﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Model.Models.ItemModel>" %>
<%@ Import Namespace="ClienteWeb.Helpers"%>

<tr class="editorRow">
    <% using(Html.BeginCollectionItem("items")) { %>
        <%= Html.HiddenFor(model => model.Id_Produto) %>
        <%= Html.HiddenFor(model => model.descricao) %>
        <%= Html.HiddenFor(model => model.Id_Empresa) %>
         <%= Html.HiddenFor(model => model.valor) %>
        <td><%= Html.DisplayFor(model => model.descricao) %></td>
        <td><%= Html.TextBoxFor(model => model.quantidade, new { size = 4 })%></td>
        <td><%= Html.DisplayFor(model => model.valor) %></td>
        
        <td><a href="#" class="deleteRow">Cancelar</a></td>
    <% } %>
</tr>